﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminSite.Master" AutoEventWireup="true" CodeBehind="EditAgent.aspx.cs" Inherits="Agents.Admin.EditAgent" %>
<asp:Content ID="Header" ContentPlaceHolderID="Header" runat="server">
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        עריכת סוכן קיים
    </h1>           
    <hr />     
    <asp:ScriptManager ID="ScriptManager1" runat="server" />  
    <asp:Timer ID="redirectionTimer" runat="server" Interval="2000" Enabled="false" 
        ontick="redirectionTimer_Tick" />         
      
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td class="title">
                <asp:Label ID="Label1" Text="שם הסוכן:" runat="server" />
            </td>
            <td class="textbox">
                <asp:TextBox ID="nameTxtbox" runat="server" />
            </td>
                <td class="title">
                <asp:Label ID="Label2"  Text="טלפון:" runat="server" />
            </td>
            <td class="textbox">
                <asp:TextBox ID="phoneTxtbox" runat="server" />
            </td>
        </tr>
            <tr>
            <td class="title">
                <asp:Label ID="Label3" Text="מייל:" runat="server" />
            </td>
            <td class="textbox">
                <asp:TextBox ID="emailTxtbox" runat="server" />
            </td>
                <td class="title">
                <asp:Label ID="Label4" Text="ת.ז.:" runat="server" />
            </td>
            <td class="textbox">
                <asp:TextBox ID="idTxtbox" runat="server" />
            </td>
        </tr>
            <tr>
            <td class="title">
                <asp:Label ID="Label5" Text="איזור:" runat="server" />
            </td>
           <td class="combobox">
                <asp:DropDownList ID="cmbArea" runat="server" />
            </td>
                <td>
                            
            </td>
            <td >
                            
            </td>
        </tr>
            <tr>
            <td class="title">
                <asp:Label ID="Label6" Text="שם משתמש:" runat="server" />
            </td>
            <td class="textbox">
                <asp:TextBox ID="usernameTxtbox" runat="server" ReadOnly="true" />
            </td>
            <td class="title">
                <asp:Button ID="btnResetPassword" runat="server" CssClass="button" 
                      Text="אפס סיסמה" OnClick="btnResetPassword_Click" />
            </td>
            <td class="textbox">
                <asp:Label ID="lblNewPassword" runat="server" />
            </td>
        </tr>                 
    </table>              
    <br />           
    <hr />

    <div class="alignCenter">               
        <asp:Button ID="okBtn" Text="עדכן" runat="server" onclick="okBtn_Click" CssClass="button"/>                
        <asp:Button ID="backBtn" Text="חזור" runat="server" onclick="backBtn_Click" CssClass="button"/>
        <asp:Label ID="empty" runat="server" />
    </div>
</asp:Content>
